private fun openGalleryForImage() { val intent = Intent(Intent.ACTION_PICK) intent.type = "image/*" startActivityForResult(intent, REQUEST_CODE) }